home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 06 - 1990 / 06.09 Sep 90 / Object1 Folder / CObject1Pane.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-01-05  |  758 b   |  31 lines  |  [TEXT/KAHL]

  1. /****
  2.  * CObject1Pane.h
  3.  *
  4.  *    Pane class for a typical application.
  5.  *
  6.  ****/
  7.  
  8. #define _H_CObject1Pane            /* Include this file only once */
  9. #include <CPanorama.h>
  10.  
  11. struct CObject1Pane : CPanorama {
  12.                                     /** Contruction/Destruction **/
  13.     void        IObject1Pane(CView *anEnclosure, CBureaucrat *aSupervisor,
  14.                             short aWidth, short aHeight,
  15.                             short aHEncl, short aVEncl,
  16.                             SizingOption aHSizing, SizingOption aVSizing);
  17.  
  18.                                     /** Drawing **/
  19.     void        Draw(Rect *area);
  20.  
  21.                                     /** Mouse **/
  22.     void        DoClick(Point hitPt, short modifierKeys, long when);
  23.     Boolean        HitSamePart(Point pointA, Point pointB);
  24.     
  25.                                     /** Cursor **/
  26.     void        AdjustCursor(Point where, RgnHandle mouseRgn);
  27.  
  28.                                     /** Scrolling **/
  29.     void        ScrollToSelection(void);
  30. };
  31.